<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<body>

    <form action="/pcs/dep/form" class="layui-card layui-form" data-auto="true" method="post" data-table-id="depTable">

        <input type="hidden" name="id" th:if="${vo}" th:value="${vo.id}"/>
        <div class="layui-card-body padding-15">

            <div class="layui-form-item">
                <label class="layui-form-label ">科室名称</label>
                <div class="layui-input-block ">
                    <input type="text" name="name" required th:value="${vo?.name}" class="layui-input">
                </div>
            </div>




            <div class="text-center layui-form-actions1">
                <button class="layui-btn" type="submit">保存</button>
                <button class="layui-btn layui-btn-danger" data-close data-confirm="确定要取消编辑吗？" type='button'>关闭</button>
            </div>

        </div>
    </form>


</body>
</html>